package com.example.musicplayer.objectClass;

public class ListViewLoc {
    private int mPosition;
    private int mOffset;

    public ListViewLoc() {
        mPosition = mOffset = 0;
    }

    public void setLocation(int position, int offset) {
        if (position > 0) {
            mPosition = position;
        }
        mOffset = offset;
    }

    public int getPosition() {
        return mPosition;
    }

    public int getOffset() {
        return mOffset;
    }
}